#pragma once


#define WM_CALCULATE WM_USER+1
// CCalculate

class CCalculateThread : public CWinThread
{
	DECLARE_DYNCREATE(CCalculateThread)

protected:
	CCalculateThread();           // protected constructor used by dynamic creation
	virtual ~CCalculateThread();

public:
	virtual BOOL InitInstance();
	virtual int ExitInstance();

protected:
	afx_msg void OnCalculate(UINT wParam,LONG lParam);

protected:
	DECLARE_MESSAGE_MAP()
};


